package com.lcq.privacysupport;

public class ProtocolInfo {
    public static final String TYPE_FIRST = "first";
    public static final String TYPE_USER = "user";
    public static final String TYPE_POLICY = "policy";
    public static final String TYPE_THIRD = "third";
    private String type;
    private String name;

    public ProtocolInfo(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static ProtocolInfo obtainFirst() {
        return new ProtocolInfo(TYPE_FIRST, "协议弹窗首页");
    }

    public static ProtocolInfo obtainUser() {
        return new ProtocolInfo(TYPE_USER, "用户协议");
    }

    public static ProtocolInfo obtainPolicy() {
        return new ProtocolInfo(TYPE_POLICY, "隐私政策");
    }

    public static ProtocolInfo obtainThirdSDK() {
        return new ProtocolInfo(TYPE_THIRD, "第三方信息共享清单");
    }
}
